package com.zhanghs.contentcenter.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sun.org.apache.xpath.internal.operations.Bool;
import com.zhanghs.contentcenter.entity.TbIndustry;
import com.zhanghs.contentcenter.mapper.TbIndustryMapper;
import com.zhanghs.contentcenter.service.TbIndustryService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 *
 */
@Service
public class TbIndustryServiceImpl extends ServiceImpl<TbIndustryMapper, TbIndustry>
    implements TbIndustryService{

    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean insert(TbIndustry t) {
        return this.save(t);
    }
}




